<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/mcss/base.css">
    <link rel="stylesheet" href="/mcss/mheader.css">
    <link rel="stylesheet" href="/mcss/mhome.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_708375_zyp8usxlkm8.css">
    <title>Document</title>
</head>

<body>
    <%- include('base/mheader'); %>
        <div class="mobileapp">
            <div class="mhome">
                <div class="swiperbox">
                    <!-- <div class="swiper-title">
                        <span>主流币种</span>
                        <a href="/m/coinmore" class="tomore">
                            <span>更多</span>
                            <img src="/image/dropdown.png" alt="">
                        </a>
                    </div> -->
                    <!-- <div class="swiper-wrap">
                        <% if(coinlimt.length){ %>
                            <% coinlimt.forEach( (item,index) => { %>
                                <% if(index<6){ %>
                                    <div class="swiper-item">
                                        <p class="swiper-item-1">
                                            <span>
                                                <%= item.symbol %>
                                            </span>
                                            <% if(item.data.extent>=0){ %>
                                                <span class="isrise">+
                                                    <%= item.data.extent %>%</span>
                                                <% }else{ %>
                                                    <span>
                                                        <%= item.data.extent %>%</span>
                                                    <% } %>
                                        </p>
                                        <p class="swiper-item-2">
                                            <%= item.data.high %>$</p>
                                    </div>
                                    <% } %>
                                        <% }) %>
                                            <% } %>
                    </div> -->
                </div>
                <div class="platformbox">
                    <div class="platform-tit">
                        <div class="platform-tit1">交易所</div>
                        <!-- <div class="platform-tit2">
                            <span>国家筛选</span>
                            <span class="caaret"></span>
                        </div>
                        <div class="platform-tit3">
                            <span>类型</span>
                            <span class="caaret"></span>
                        </div> -->
                        <div class="platform-tit4">
                            <span @click="Mining" v-html="mining"></span>
                            <span class="caaret"></span>
                            <div class="platform-tit5" v-show="!istrue" @click="Miningone">
                                交易挖矿
                            </div>
                            <div class="platform-tit5 platform-tit6" v-show="!istrue" @click="Miningtwo">
                                非交易挖矿
                            </div>
                        </div>
                    </div>
                    <% if(articlelist.length){ %>
                        <ul class="platform-wrap" v-show="isfatrueL">
                            <% articlelist.forEach( (item,index) => { %>
                                <% if(index==0){ %>
                                    <% item.data.forEach( (item1,index1) => { %>
                                        <% if(item1.waStatus==0){ %>
                                            <li class="platform-item">
                                                <div class="item-top">
                                                    <span class="coinlogo" @click="overwall('<%= item1.url %>')">
                                                        <img src="<%= item1.logo %>" alt="">
                                                    </span>
                                                    <div class="top-text"  @click="getclicks(item.code,item.id)">
                                                        <p class="textone clear">
                                                            <span class="o1 fl" @click="overwall('<%= item1.url %>')">
                                                                <%= item1.company %>
                                                            </span>
                                                            <!-- <span class="o2 fr" v-if="item.data13=='true'">免翻墙</span> -->
                                                            <% if(item1.fanStatus==0){ %>
                                                                <span class="o2 fr">免翻墙</span>
                                                                <% } %>
                                                                    <% if(item1.fanStatus==1){ %>
                                                                        <!-- <span class="o2 fr" >翻墙</span> -->
                                                                        <% } %>
                                                        </p>
                                                    </div>
                                                    <div class="top-text1">
                                                       <span class="top-text2">
                                                            <%= item1.title[0] %>
                                                        </span>
                                                        <span class="top-text2">
                                                            <%= item1.title[1] %>
                                                        </span>
                                                        <span class="top-text4">
                                                            <%= item1.title[2] %>
                                                        </span>
                                                    </div>
                                                    <span class="drop" @click="clickdrop(<%= index1 %>+1)">
                                                        <img src="/image/dropdown.png" alt="" ref="dicon<%= index1 %>">
                                                    </span>
                                                </div>
                                                <div class="item-bottom" v-if="showdrop == <%= index1 %>+1">
                                                    <div class="bottom-text">
                                                        <p class="textwrap">
                                                            <%= item1.yesaDescribe %>
                                                        </p>
                                                    </div>
                                                    <div class="bottom-btn">
                                                        <a href="<%= item1.url %>">
                                                            <button>APP下载</button>
                                                        </a>
                                                        <button id="bottom-btn1" name="<%= item.code %>" code="<%= item1.id %>" onclick="appdown(this)">添加为自选</button>
                                                    </div>
                                                </div>
                                            </li>
                                            <% } %>
                                                <% }) %>
                                                    <% } %>
                                                        <% }) %>
                        </ul>
                        <% } %>
                            <!-- <ul class="platform-wrap" v-show="isfatrueL">
                        <li class="platform-item" v-for="(item,index) in data1">
                            <div class="item-top">
                                <span class="coinlogo" @click="overwall(item.data11)">
                                    <img :src="'/image/'+item.data9+'.png'" alt="">
                                </span>
                                <div class="top-text">
                                    <p class="textone clear">
                                        <span class="o1 fl" v-html="item.data5" @click="overwall(item.data11)"></span>
                                        <span class="o2 fr" v-if="item.data13=='true'">免翻墙</span>
                                    </p>
                                </div>
                                <div  class="top-text1">
                                        <span class="top-text2"  v-html="item.data4"></span>
                                        <span class="top-text2"  v-html="item.data3"></span>
                                        <span class="top-text4"  v-html="item.data2"></span>
                                </div>
                                <span class="drop" @click="clickdrop(index+1)">
                                    <img src="/image/dropdown.png" alt="" :ref="'dicon'+index">
                                </span>
                            </div>
                            <div class="item-bottom" v-if="showdrop == index+1">
                                <div class="bottom-text">
                                    <p class="textwrap" v-html="item.data1"></p>
                                </div>
                                <div class="bottom-btn">
                                    <a :href="item.data11">
                                        <button>APP下载</button>
                                    </a>
                                    <button id="bottom-btn1">添加为自选</button>
                                </div>
                            </div>
                        </li>
                    </ul> -->

                            <% if(articlelist.length){ %>
                                <ul class="platform-wrap" v-show="!isfatrueL">
                                    <% articlelist.forEach( (item,index) => { %>
                                        <% if(index==0){ %>
                                            <% item.data.forEach( (item1,index1) => { %>
                                                <% if(item1.waStatus==1){ %>
                                                    <li class="platform-item">
                                                        <div class="item-top">
                                                            <span class="coinlogo" @click="overwall('<%= item1.url %>')">
                                                                <img src="<%= item1.logo %>" alt="">
                                                            </span>
                                                            <div class="top-text">
                                                                <p class="textone clear">
                                                                    <span class="o1 fl" @click="overwall('<%= item1.url %>')">
                                                                        <%= item1.company %>
                                                                    </span>
                                                                    <!-- <span class="o2 fr" v-if="item.data13=='true'">免翻墙</span> -->
                                                                    <% if(item1.fanStatus==0){ %>
                                                                        <span class="o2 fr">免翻墙</span>
                                                                        <% } %>
                                                                            <% if(item1.fanStatus==1){ %>
                                                                                <!-- <span class="o2 fr" >翻墙</span> -->
                                                                                <% } %>
                                                                </p>
                                                            </div>
                                                            <div class="top-text1">
                                                                <span class="top-text2">
                                                                    <%= item1.title[0] %>
                                                                </span>
                                                                <span class="top-text2">
                                                                    <%= item1.title[1] %>
                                                                </span>
                                                                <span class="top-text4">
                                                                    <%= item1.title[2] %>
                                                                </span>
                                                            </div>
                                                            <span class="drop" @click="clickdrop(<%= index1 %>+1)">
                                                                <img src="/image/dropdown.png" alt="" ref="dicon<%= index1 %>">
                                                            </span>
                                                        </div>
                                                        <div class="item-bottom" v-if="showdrop == <%= index1 %>+1">
                                                            <div class="bottom-text">
                                                                <p class="textwrap">
                                                                    <%= item1.yesaDescribe %>
                                                                </p>
                                                            </div>
                                                            <div class="bottom-btn">
                                                                <a href="<%= item1.url %>">
                                                                    <button>APP下载</button>
                                                                </a>
                                                                <button id="bottom-btn1">添加为自选</button>
                                                            </div>
                                                        </div>
                                                    </li>
                                                    <% } %>
                                                        <% }) %>
                                                            <% } %>
                                                                <% }) %>
                                </ul>
                                <% } %>
                                    <!-- <ul class="platform-wrap" v-show="!isfatrueL">
                        <li class="platform-item" v-for="(item,index) in Trading">
                            <div class="item-top">
                                <span class="coinlogo" @click="overwall(item.data11)">
                                    <img :src="'/image/'+item.data9+'.png'" alt="">
                                </span>
                                <div class="top-text">
                                    <p class="textone clear">
                                        <span class="o1 fl" v-html="item.data5" @click="overwall(item.data11)"></span>
                                        <span class="o2 fr" v-if="item.data13=='true'">免翻墙</span>
                                    </p>
                                </div>
                                <div  class="top-text1">
                                        <span class="top-text2"  v-html="item.data4"></span>
                                        <span class="top-text2"  v-html="item.data3"></span>
                                        <span class="top-text4"  v-html="item.data2"></span>
                                </div>
                                <span class="drop" @click="clickdrop(index+1)">
                                    <img src="/image/dropdown.png" alt="" :ref="'dicon'+index">
                                </span>
                            </div>
                            <div class="item-bottom" v-if="showdrop == index+1">
                                <div class="bottom-text">
                                    <p class="textwrap" v-html="item.data1"></p>
                                </div>
                                <div class="bottom-btn">
                                    <a :href="item.data11">
                                        <button>APP下载</button>
                                    </a>
                                    <button class="bottom-btn1" >添加为自选</button>
                                </div>
                            </div>
                        </li>
                    </ul> -->
                </div>
            </div>
        </div>
        <%- include('base/mfooter'); %>
            <script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
            <script src="/mjs/mhome.js"></script>
            <script type='text/javascript' src='http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js'></script>
            <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
            <script>
                $(function () {
                    $('.totop').click(function () {
                        $("html,body").animate({ scrollTop: 0 }, 500);
                    })

                })
                function appdown(a) {
                    if(!sessionStorage.getItem('ID')){
                        return
                    }
                    var indexname = $(a).attr('name')
                    var indexcode = $(a).attr('code')
                    let parm = {
                        navigationCode: indexcode,
                        articleId: indexname
                    }
                    axios.post('/yesUser/yesSelectionadd', parm).then(res => {
                        // window.location.reload()
                    })
                }
            </script>
</body>

</html>